package com.example.benyq.mediaplayerdemo;

import android.content.Context;

import com.example.benyq.mediaplayerdemo.recyclerview.BenyqBaseAdapter;
import com.example.benyq.mediaplayerdemo.recyclerview.BenyqRVHolder;

import java.util.List;

/**
 * @author benyq
 * @date 18-7-24 18:10
 * @E-mail： 1520063035@qq.com
 * @description
 */
public class MusicAdapter extends BenyqBaseAdapter<Music>{

    public MusicAdapter(Context context, List<Music> list, int layoutId) {
        super(context, list, layoutId);
    }

    @Override
    public void convert(BenyqRVHolder holder, int position, Music music) {
        holder.setText(R.id.tv_title, music.song);
    }
}
